<% if user_signed_in? %>
    Hola, <%= current_user.login %><%= link_to('Salir', destroy_user_session_path, :method => :delete) %>
<% else %>
    <%= link_to('Acceder', new_user_session_path)  %>
<% end %>